package softtech.apps.model;

public class User {
    private static final String TAG = "UserList";
    private int id_client;
    private String email;
	private String avatar_path;
    private String full_name;
    private String address;
    private String phone_number;
    private float rating;
    private int type;
    private int id_server;
	public int getId_client() {
		return id_client;
	}
	public void setId_client(int id_client) {
		this.id_client = id_client;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getAvatar_path() {
		return avatar_path;
	}
	public void setAvatar_path(String avatar_path) {
		this.avatar_path = avatar_path;
	}
	public String getFull_name() {
		return full_name;
	}
	public void setFull_name(String full_name) {
		this.full_name = full_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone_number() {
		return phone_number;
	}
	public void setPhone_number(String phone_number) {
		this.phone_number = phone_number;
	}
	public float getRating() {
		return rating;
	}
	public void setRating(float rating) {
		this.rating = rating;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getId_server() {
		return id_server;
	}
	public void setId_server(int id_server) {
		this.id_server = id_server;
	}
	/**
	 * Khoi tao doi tuong User dung cho viec cap nhat du lieu
	 * */
	public User(int id_client, String email, String avatar_path,
			String full_name, String address, String phone_number,
			float rating, int type, int id_server) {
		super();
		this.id_client = id_client;
		this.email = email;
		this.avatar_path = avatar_path;
		this.full_name = full_name;
		this.address = address;
		this.phone_number = phone_number;
		this.rating = rating;
		this.type = type;
		this.id_server = id_server;
	}
	/**
	 * Khoi tao doi tuong User dung de them moi user vao database
	 * */
	public User(String email, String avatar_path, String full_name,
			String address, String phone_number, float rating, int type,
			int id_server) {
		super();
		this.email = email;
		this.avatar_path = avatar_path;
		this.full_name = full_name;
		this.address = address;
		this.phone_number = phone_number;
		this.rating = rating;
		this.type = type;
		this.id_server = id_server;
	}
	
	/**
	 * Khoi tao cac thuoc tinh bat buoc cua doi tuong User
	 * Cac thuoc tinh bat buoc nay se tuy chinh sau
	 * */
	public User(String full_name, int id_server) {
		super();
		this.full_name = full_name;
		this.id_server = id_server;
	}
	public User() {
		// TODO Auto-generated constructor stub
	}
	
}